﻿<ad:DockableContent x:Class="Renci.iRods.Studio.Modules.Explorer.Views.MetadataDockableView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock"
             xmlns:controls="clr-namespace:Renci.iRods.Studio.Modules.Explorer.Controls"
             mc:Ignorable="d" 
             Title="Metadata"
             d:DesignHeight="300" d:DesignWidth="300">
    
    <ad:DockableContent.Resources>
        <ResourceDictionary Source="/Renci.iRods.Studio.Modules.Explorer;component/Resources/Dictionary.xaml" />
    </ad:DockableContent.Resources>

    <ListView ItemsSource="{Binding Metadata}">
        <ListView.View>
            <GridView>
                <GridViewColumn Header="ID" DisplayMemberBinding="{Binding ID}"/>
                <GridViewColumn Header="Namespace" DisplayMemberBinding="{Binding Namespace}"/>
                <GridViewColumn Header="Name" DisplayMemberBinding="{Binding Name}"/>
                <GridViewColumn Header="Value" DisplayMemberBinding="{Binding Value}"/>
                <GridViewColumn Header="Unit" DisplayMemberBinding="{Binding Unit}"/>
            </GridView>
        </ListView.View>
    </ListView>
</ad:DockableContent >
